package com.loong.utils;

/**
 * 项目的常量类
 */
public class Constants {
    public static final String TAG = "method";
    public static final String FORWARD = "forward:";
    public static final String REDIRECT = "redirect:";
    public static final String FLAG = ":";
    public static final String  INDEX= "index";
    /**
     * 定义用户模块涉及的常量
     */
    public static final String HSA_USER = "1";
    public static final String NOT_HSA_USER = "0";
    public static final int USER_ACTIVE = 1;
    public static final int USER_NOT_ACTIVE = 0;
    public static final int ROLE_CUSTOMER = 0;
    public static final int ROLE_ADMIN = 1;
    /**
     * 用户模块激活状态
     */
    public static final int ACTIVE_FAIL = 0;
    public static final int ACTIVE_SUCCESS = 1;
    public static final int ACTIVE_ALREADY = 2;
    /**
     * 自动登录cookie名
     */
    public static final String AUTO_NAME = "autoUser";


}
